package com.tanhua.dubbo.api.mongo;

import com.tanhua.model.domain.User;
import com.tanhua.model.mongo.TestReport;
import com.tanhua.model.mongo.TestSoul;

import java.util.List;

public interface TestSoulApi {
    void save(List<User> userList);

    void saveTest(User user);

    List<TestSoul> selectByUserId(Long userId);

    void unlockNext(Long id, Long questionnaireId);

    TestReport findByReportId(String reportId);

    List<Long> getSimilarUsers(Long userId,Integer score);

    void saveReport(TestReport testReport);
}
